package prometheus

Import Path
	github.com/K-Phoen/grabana/alert/queries/prometheus (on go.dev)

Dependency Relation
	imports 2 packages, and imported by one package

Involved Source Files prometheus.go
Package-Level Type Names (total 2)
/* sort by: | */
Option represents an option that can be used to configure a prometheus query. func Legend(legend string) Option func TimeRange(from time.Duration, to time.Duration) Option func New(ref string, query string, options ...Option) *Prometheus func github.com/K-Phoen/grabana/alert.WithPrometheusQuery(ref string, query string, options ...Option) alert.Option
Prometheus represents a prometheus query. Builder sdk.AlertQuery func New(ref string, query string, options ...Option) *Prometheus
Package-Level Functions (total 3)
Legend sets the legend format.
New creates a new prometheus query.
TimeRange sets the legend format.